package com.zhuojy.equity.mall.admin.common.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Data;
/**
 * 角色表(TRole)表实体类
 *
 * @author makejava
 * @since 2024-03-25 09:35:29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_role")
public class TRole implements Serializable {

    private static final long serialVersionUID = -6543937753157617663L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;


    private Integer userCount;

    private Integer sort;

    private String roleDescribe;

    private String state;
    @TableField(exist = false)
    private String userRoleCount;

    private Date createdAt;

    private String createdBy;

    private Date updatedAt;

    private String updatedBy;

}
